package com.carpedil.sm.dao;

import com.carpedil.sm.po.User;
import org.springframework.stereotype.Component;

import java.util.List;

/** @author Administrator */
@Component("userMapper")
public interface UserMapper {
  /***
   * getAll users
   * @return users
   */
  List<User> getAll();

  /**
   * insertUser
   *
   * @param user user
   * @return i
   */
  int insertUser(User user);
}
